{yun:}include file="$wapstyle/member/header.htm"{/yun}
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/wap_tck.css?v={yun:}$config.cachecode{/yun}" type="text/css">
<script src="{yun:}$wap_style{/yun}/js/resume.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.picker.min.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/js/mui/css/mui.poppicker.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/style.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$wap_style{/yun}/css/cmc.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<div class="wap_member_comp_h1"><span>创建简历</span></div>
<div id="app" class="mui-views">
	<div class="mui-view">
		<div class="mui-pages"></div>
	</div>
</div>


<div id="main" class="mui-page">
	
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">

				<div class="yunset_addresume_tit">基本信息</div>
				<ul class="yunset_list ">
					<li class="yunset_list_text"><span class="yunset_list_name">姓名</span>
						<div class="yunset_list_commentary"> <input type="text" name="uname" id="uname" value="{yun:}$resume.name{/yun}" placeholder="请输入真实姓名" class=""></div>
					</li>
					<li class=""><span class="yunset_list_name">性别</span>
						<div class="yunset_list_commentary"><button id='sexPicker' class="mui-btn mui-btn-block" type='button' data-sex="{yun:}$resume.sex{/yun}">{yun:}if $resume.sex==1{/yun}{yun:}$arr_data1{/yun}{yun:}else if $resume.sex==2{/yun}{yun:}$arr_data1{/yun}{yun:}else{/yun}请选择性别{yun:}/if{/yun}</button>
							<input type="hidden" id="sex" name="sex" value="{yun:}$resume.sex{/yun}"></div>
					</li>
					<li class=""><span class="yunset_list_name">出生年月</span>
						<div class="yunset_list_commentary"><button id='birthdayUserPicker' data-options='{"type":"date","value":"{yun:}if $resume.birthday{/yun}{yun:}$resume.birthday{/yun}{yun:}else{/yun}1988-08-08{yun:}/if{/yun}","beginYear":1955,"endYear":2010}' class="btn mui-btn mui-btn-block">{yun:}if $resume.birthday{/yun}{yun:}$resume.birthday{/yun}{yun:}else{/yun}1989-10-10{yun:}/if{/yun}</button>
							<input type="hidden" id="birthday" name="birthday" value="{yun:}if $resume.birthday{/yun}{yun:}$resume.birthday{/yun}{yun:}else{/yun}1989-10-10{yun:}/if{/yun}"></div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">现居住地</span>
						<div class="yunset_list_commentary"> <input type="text" name="living" id="living" value="{yun:}$resume.living{/yun}" placeholder="请输入现居住地" class=""></div>
					</li>

					<li class=""><span class="yunset_list_name">最高学历</span>
						<div class="yunset_list_commentary"> <button id='eduPicker' class="mui-btn mui-btn-block" type='button' data-edu="{yun:}$resume.edu{/yun}">{yun:}if $resume.edu{/yun}{yun:}$userclass_name[$resume.edu]{/yun}{yun:}else{/yun}请选择最高学历{yun:}/if{/yun}</button>
							<input type="hidden" id="edu" name="edu" value="{yun:}$resume.edu{/yun}">
						</div>
					</li>

					<li class=""><span class="yunset_list_name">工作经验</span>
						<div class="yunset_list_commentary"> <button id='expPicker' class="mui-btn mui-btn-block" type='button' data-exp="{yun:}$resume.exp{/yun}">{yun:}if $resume.exp{/yun}{yun:}$userclass_name[$resume.exp]{/yun}{yun:}else{/yun}请选择工作经验{yun:}/if{/yun}</button>
							<input type="hidden" id="exp" name="exp" value="{yun:}$resume.exp{/yun}"></div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">手机</span><span class="yunset_list_commentary">
						{yun:}if $resume.moblie_status==1{/yun}
						（已绑定）{yun:}$resume.telphone{/yun} 
						<input type="hidden" id="telphone" value="{yun:}$resume.telphone{/yun}">
						{yun:}else{/yun}
						<input type="text" name="telphone" id="telphone" value="{yun:}$resume.telphone{/yun}" onkeyup="this.value=this.value.replace(/[^0-9.]/g,'')" class=""placeholder="请输入手机号码" >
						{yun:}/if{/yun} 
						</span></li>
					<li class="yunset_list_text">
						<span class="yunset_list_name">邮箱</span>
						<span class="yunset_list_commentary ">
						 {yun:}if $resume.email_status==1{/yun}
						（已验证）{yun:}$resume.email{/yun}
							<input type="hidden" id="email" value="{yun:}$resume.email{/yun}">
						{yun:}else{/yun}
							 <div class=""><input type="text" name="email" id="email" value="{yun:}$resume.email{/yun}" class="" placeholder="请输入联系邮箱" ></div>
						{yun:}/if{/yun} 
					
						</span>
					</li>

				</ul>
				
				<div class="yunset_bth_box" style="background: transparent; border: none; padding:0px;">
                    <a href="#addnexthtml" class="yun_wap_info_brief_tit_bc addnext">下一步</a>
                </div>
                <div style="height:30px;"></div>
				
			</div>
		</div>
	</div>
</div>

<div id="addnexthtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class="yunset_addresume_tit">求职意向</div>

				<ul class="yunset_list">
					<li class=""><span class="yunset_list_name">从事行业</span>
						<div class="yunset_list_commentary"> <button id='hyPicker' class="mui-btn mui-btn-block" type='button'>请选择从事行业</button>
							<input type="hidden" id="hy" name="hy" value="{yun:}$row.hy{/yun}"></div>
					</li>
					<li>
						<a href="#jobclasshtml"><span class="yunset_list_name">工作职能</span ><span class="yunset_list_commentary" id="jobnameshow">请选择工作职能</span></a>
						<input type="hidden" name="job_classid" id="job_classid" value="" />
					</li>

					<li class="yunset_list_text"><span class="yunset_list_name">期望岗位</span>
						<div class="yunset_list_commentary"> <input type="text" name="name" id="name" value="" placeholder="比如：销售总监,销售经理" class=""></div>
					</li>
					<li>
						<a href="#salaryhtml"><span class="yunset_list_name">期望薪资</span > <span class="yunset_list_commentary" id="salaryshow">请输入期望薪资</span></a>
					</li>
					<li>
						<a href="#cityclasshtml"><span class="yunset_list_name">期望城市</span ><span class="yunset_list_commentary" id="citynameshow">请选择期望城市</span></a>
						<input type="hidden" name="city_classid" id="city_classid" value="" />
					</li>
					<li><span class="yunset_list_name">工作性质</span ><span class="yunset_list_commentary">
						<button id='typePicker' class="mui-btn mui-btn-block" type='button'>请选择工作性质</button>
						<input type="hidden" id="type" name="type" value="">
						</span></li>
					<li><span class="yunset_list_name">到岗时间</span ><span class="yunset_list_commentary">
						<button id='reportPicker' class="mui-btn mui-btn-block" type='button'>请选择到岗时间</button>
						<input type="hidden" id="report" name="report" value="">
						</span></li>
					<li><span class="yunset_list_name">求职状态</span ><span class="yunset_list_commentary">
						<button id='jobstatusPicker' class="mui-btn mui-btn-block" type='button'>请选择求职状态</button>
						<input type="hidden" id="jobstatus" name="jobstatus" value="">
						</span></li>
				</ul>
				
				<input type="hidden" id="logid" name="logid">

				<div class="yunset_bth_box" style="background: transparent; border: none; padding:0px;">
				{yun:}if $config.resume_create_exp!='1'&&$config.resume_create_edu!='1'&&$config.resume_create_project!='1'{/yun}
				<button id="resumesubmit" type="button" class="mui-btn mui-btn-block mui-btn-primary" style="margin-top: 20px;">保 存</button>
				{yun:}else{/yun}
                    <a href="#addnexttwohtml" class="yun_wap_info_brief_tit_bc addnexttwo">下一步</a>
					
					{yun:}/if{/yun}
					 <a class="yun_wap_info_brief_tit_bc mui-action-back" style="background:#f8f8f8;border:1px solid #eee;color:#333; margin-bottom:20px;">返回上一步</a>
                </div>
			</div>
		</div>
	</div>
</div>
{yun:}if $config.resume_create_exp=='1'||$config.resume_create_edu=='1'||$config.resume_create_project=='1'{/yun}
<div id="addnexttwohtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				
				{yun:}if $config.resume_create_exp=='1'{/yun}
				<div class="yunset_addresume_tit">最近一份工作</div>
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">公司名称</span>
						<div class="yunset_list_commentary">
							<input type="text" id="workname" name="workname" value="" placeholder="请填写公司名称" class="">
						</div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">担任职位</span>
						<div class="yunset_list_commentary">
							<input type="text" name="worktitle" id="worktitle" value="" placeholder="请填写担任职位" class=""></div>
					</li>
					<li>
						<a href="#worktimehtml"><span class="yunset_list_name">在职时间</span>
							<div class="yunset_list_commentary" id="worktimeshow"> 请选择在职时间</div>
						</a>
					</li>
					<li>
						<a href="#workcontenthtml"><span class="yunset_list_name">工作内容</span>
							<div class="yunset_list_commentary" id="workcontentshow"> 请填写工作职责</div>
						</a>
					</li>
				</ul>
				{yun:}/if{/yun} {yun:}if $config.resume_create_edu=='1'{/yun}
				<div class="yunset_addresume_tit">毕业院校</div>
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">学校名称</span>
						<div class="yunset_list_commentary">
							<input type="text" id="eduname" name="eduname" value="" placeholder="请填写学校名称" class=""></div>
					</li>
					<li>
						<a href="#edutimehtml"><span class="yunset_list_name">在校时间</span>
							<div class="yunset_list_commentary" id="edutimeshow"> 请选择在校时间</div>
						</a>
					</li>
					<li><span class="yunset_list_name">毕业学历</span > <span class="yunset_list_commentary" ><button id='educationUserPicker' class="mui-btn mui-btn-block" type='button'>{yun:}if $userclass_name[$row.education]{/yun}{yun:}$userclass_name[$row.education]{/yun}{yun:}else{/yun}请选择毕业学历{yun:}/if{/yun}</button>
						<input type="hidden" id="education" name="education" value="{yun:}$row.education{/yun}">
							</span>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">所学专业</span>
						<div class="yunset_list_commentary"> <input type="text" id="eduspec" name="eduspec" value="" placeholder="请填写所学专业" class=""></div>
					</li>

				</ul>
				{yun:}/if{/yun} {yun:}if $config.resume_create_project=='1'{/yun}
				<div class="yunset_addresume_tit">近期项目</div>
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">项目名称</span>
						<div class="yunset_list_commentary">
							<input type="text" name="proname" id="proname" value="" placeholder="请填写项目名称" class=""></div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">担任职位</span>
						<div class="yunset_list_commentary">
							<input type="text" name="protitle" id="protitle" value="" placeholder="请填写担任职位" class=""></div>
					</li>
					<li>
						<a href="#protimehtml"><span class="yunset_list_name">项目时间</span>
							<div class="yunset_list_commentary" id="protimeshow"> 请选择项目时间</div>
						</a>
					</li>

					<li>
						<a href="#procontenthtml"><span class="yunset_list_name">项目内容</span>
							<div class="yunset_list_commentary" id="procontentshow"> 请填写项目内容</div>
						</a>
					</li>
				</ul>
				{yun:}/if{/yun}
				
				<div class="yunset_bth_box" style="background: transparent; border: none; padding:0px;">
                  
					<button id="resumesubmit" type="button" class="mui-btn mui-btn-block mui-btn-primary" style="margin-top: 20px;">保 存</button>
					 <a class="yun_wap_info_brief_tit_bc mui-action-back" style="background:#f8f8f8;border:1px solid #eee;color:#333;margin-bottom:20px;">返回上一步</a>
                </div>
			</div>
		</div>
	</div>
</div>
{yun:}/if{/yun}

<div id="procontenthtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class="yun_wap_addresume_box_group">
                 <div class="yun_wap_addresume_box_nexttit">项目内容</div>
					<div class="yun_wap_addresume_box_control_text">
						<textarea name="procontent" id="procontent" style="width:100%;height:200px;" class="yun_wap_addresume_texttextAreaMsg" ></textarea>
					</div>
                    	<a class="yun_wap_info_brief_tit_bc mui-action-back"style="margin-top:0px;">确定</a>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="workcontenthtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<div class="yun_wap_addresume_box_group">
                <div class="yun_wap_addresume_box_nexttit">工作内容</div>
					<div class="yun_wap_addresume_box_control_text">
						<textarea name="workcontent" id="workcontent" style="width:100%;height:200px;" class="yun_wap_addresume_texttextAreaMsg"></textarea>
					</div>
                      	<a class="yun_wap_info_brief_tit_bc mui-action-back" style="margin-top:0px;">确定</a>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="protimehtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<ul class="yunset_list mt15">
					<li><span class="yunset_list_name">开始时间</span > <span class="yunset_list_commentary"><button id='prosdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择开始时间</button>
					<input type="hidden" id="prosdate" name="prosdate" value=""></span>

					</li>
					<li><span class="yunset_list_name">结束时间</span > <span class="yunset_list_commentary"><button id='proedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择结束时间</button>
					<input type="hidden" id="proedate" name="proedate" value=""></span>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>
<div id="edutimehtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<ul class="yunset_list mt15">
					<li><span class="yunset_list_name">入校时间</span > <span class="yunset_list_commentary"><button id='edusdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择入校时间</button>
					<input type="hidden" id="edusdate" name="edusdate" value=""></span>

					</li>
					<li><span class="yunset_list_name">离校时间</span > <span class="yunset_list_commentary"><button id='eduedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择离校时间</button>
					<input type="hidden" id="eduedate" name="eduedate" value=""></span>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>
<div id="worktimehtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll">
				<ul class="yunset_list mt15">
					<li><span class="yunset_list_name">入职时间</span > <span class="yunset_list_commentary"><button id='worksdateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择入职时间</button>
					<input type="hidden" id="worksdate" name="worksdate" value=""></span>

					</li>
					<li><span class="yunset_list_name">离职时间</span > <span class="yunset_list_commentary"><button id='workedateComPicker' data-options='{"type":"month","beginYear":1955,"endYear":{yun:}time()|date_format:"%Y"{/yun}}'  class="btn mui-btn mui-btn-block">请选择离职时间</button>
					<input type="hidden" id="workedate" name="workedate" value=""></span>
					</li>
					<li class="yunset_list_text">
						<span class="yunset_list_name" style="width:150px;">至今<em class="yunset_xttip"></em></span>
						<div class="yunset_kg_box">
							<div class="yunset_kg">
								<div class="mui-switch mui-switch-mini totoday">
									<div class="mui-switch-handle"></div>
								</div>
								<input type="hidden" id="totoday" name="totoday" value="">
							</div>
						</div>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>

<div id="jobclasshtml" class="mui-page">
	<div class="mui-page-content">
		<div style="height:570px;">
			<div class="grade_tit">选择工作职能 (可多选)</div>
			<div class="grade-eject grade-w-roll">
				<ul class="grade-w" id="jobone">
					{yun:}foreach from=$job_index item=v{/yun}
					<li data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</li>
					{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-t" id="jobtwo">
				{yun:}foreach from=$job_type key=key item=v{/yun}
					{yun:}if in_array($key,$job_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="jobtwo job{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$job_name[$vv]{/yun}</li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-s" id="jobthree">
				{yun:}foreach from=$job_type key=key item=v{/yun}
					{yun:}if in_array($key,$job_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li id="jobtwo{yun:}$vv{/yun}" class="jobthree job{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="jobcheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				{yun:}foreach from=$job_type key=key item=v{/yun}
					{yun:}if !in_array($key,$job_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="jobthree job{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$job_name[$vv]{/yun}</label><input class="jobthreebox jobcheck{yun:}$key{/yun}" id="jobthree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
			</div>
			<div class="grade_chlose_box">
				<div class="grade_chlose_box_c">
					<span class="grade_chlose_box_c_name">已选</span>
					<div class="mui-slider">
						<div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
							<div id="jobchoosed" class="mui-scroll" style="background:#fff;height:20px;">
								{yun:}foreach from=$job_classid item=v{/yun}
								<a class="grade_chlose_box_a" data-id="{yun:}$v{/yun}">{yun:}$job_name[$v]{/yun}</a>
								{yun:}/foreach{/yun}
							</div>
						</div>
					</div>
				</div>
				<a class="grade_chlose_bth mui-action-back">确定 <span id="jobpencent" class="{yun:}if !$job_classid{/yun}none{yun:}/if{/yun}">{yun:}count($job_classid){/yun}/5</span></a>
			</div>
		</div>
	</div>
</div>

<div id="cityclasshtml" class="mui-page">
	<div class="mui-page-content">
		<div style="height:570px;">
			<div class="grade_tit">选择城市(可多选)</div>
			<div class="grade-eject grade-w-roll">
				<ul class="grade-w" id="cityone">
					{yun:}foreach from=$city_index item=v{/yun}
					<li data-id="{yun:}$v{/yun}">{yun:}$city_name[$v]{/yun}</li>
					{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-t" id="citytwo">
				{yun:}foreach from=$city_type key=key item=v{/yun}
					{yun:}if in_array($key,$city_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="citytwo city{yun:}$key{/yun} none" data-id="{yun:}$vv{/yun}">{yun:}$city_name[$vv]{/yun}</li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
				<ul class="grade-s" id="citythree">
				{yun:}foreach from=$city_type key=key item=v{/yun}
					{yun:}if in_array($key,$city_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li id="citytwo{yun:}$vv{/yun}" class="citythree city{yun:}$vv{/yun} none"><div class="mui-input-row mui-checkbox"><label>全部</label><input type="checkbox" value="{yun:}$vv{/yun}" id="citycheckAll{yun:}$vv{/yun}" class="checkAll"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				{yun:}foreach from=$city_type key=key item=v{/yun}
					{yun:}if !in_array($key,$city_index){/yun}
						{yun:}foreach from=$v item=vv{/yun}
						<li class="citythree city{yun:}$key{/yun} none"><div class="mui-input-row mui-checkbox"><label>{yun:}$city_name[$vv]{/yun}</label><input class="citythreebox citycheck{yun:}$key{/yun}" id="citythree{yun:}$vv{/yun}" value="{yun:}$vv{/yun}" type="checkbox"/></div></li>
						{yun:}/foreach{/yun}	
					{yun:}/if{/yun}
				{yun:}/foreach{/yun}
				</ul>
			</div>
			<div class="grade_chlose_box">
				<div class="grade_chlose_box_c">
					<span class="grade_chlose_box_c_name">已选</span>
					<div class="mui-slider">
						<div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" style="background:#fff;height:20px;">
							<div id="citychoosed" class="mui-scroll" style="background:#fff;height:20px;">
								{yun:}foreach from=$city_classid item=v{/yun}
								<a class="grade_chlose_box_a">{yun:}$city_name[$v]{/yun}</a>
								{yun:}/foreach{/yun}
							</div>
						</div>
					</div>
				</div>
				<a class="grade_chlose_bth mui-action-back">确定<span id="citypencent" class="{yun:}if !$city_classid{/yun}none{yun:}/if{/yun}">{yun:}count($city_classid){/yun}/5</span></a>
			</div>
		</div>
	</div>
</div>
<div id="salaryhtml" class="mui-page">
	<div class="mui-page-content">
		<div class="mui-scroll-wrapper">
			<div class="mui-scroll wap_member">
				<ul class="yunset_list">
					<li class="yunset_list_text"><span class="yunset_list_name">最低薪资</span>
						<div class="yunset_list_xzbox">
							<input type="number" id="minsalary" value="" placeholder="请输入最低薪资" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')">
							<span class="yunset_list_xz">元/月</span>
						</div>
					</li>
					<li class="yunset_list_text"><span class="yunset_list_name">最高薪资<font color="#999">(选填)</font></span>
						<div class="yunset_list_xzbox">
							<input type="number" id="maxsalary" onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" value="" placeholder="请输入最高薪资">

							<span class="yunset_list_xz">元/月</span> </div>
					</li>
				</ul>
				<a class="yun_wap_info_brief_tit_bc mui-action-back">确定</a>
			</div>
		</div>
	</div>
</div>

<input type='hidden' id='resume_edu' value='{yun:}$config.resume_create_edu{/yun}'>
<input type='hidden' id='resume_exp' value='{yun:}$config.resume_create_exp{/yun}'>
<input type='hidden' id='resume_pro' value='{yun:}$config.resume_create_project{/yun}'>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.picker.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.poppicker.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/mui/mui.view.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script language="javascript">
	var sexData = [];
	'{yun:}foreach from=$arr_data.sex key=j item=v{/yun}'
	sexData.push({
		value: '{yun:}$j{/yun}',
		text: '{yun:}$v{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var eduData = [];
	'{yun:}foreach from=$userdata.user_edu key=j item=v{/yun}'
	eduData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var expData = [];
	'{yun:}foreach from=$userdata.user_word key=j item=v{/yun}'
	expData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}';
	var hyData = [];
	'{yun:}foreach from=$industry_index item=v{/yun}'
	hyData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$industry_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var typeData = [];
	'{yun:}foreach from=$userdata.user_type item=v{/yun}'
	typeData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var reportData = [];
	'{yun:}foreach from=$userdata.user_report item=v{/yun}'
	reportData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	var jobstatusData = [];
	'{yun:}foreach from=$userdata.user_jobstatus item=v{/yun}'
	jobstatusData.push({
		value: '{yun:}$v{/yun}',
		text: '{yun:}$userclass_name[$v]{/yun}'
	})
	'{yun:}/foreach{/yun}'
	mui.init();
	var viewApi = mui('#app').view({
		defaultPage: '#main'
	});
	
	var view = viewApi.view;
	(function($) {
		
		mui('.mui-scroll-wrapper').scroll({
			scrollY: true, 
			scrollX: false, 
			startX: 0, 
			startY: 0, 
			indicators: false, 
			deceleration: 0.0006, 
			
		});
		
		var oldBack = $.back;
		$.back = function() {
			if(viewApi.canBack()) { 
				viewApi.back();
			} else { 
				oldBack();
			}
		};
	})(mui);
	
	view.addEventListener('pageBeforeShow', function(e) {
		document.activeElement.blur();
	});
	view.addEventListener('pageBeforeBack', function(e) {
		var salaryshow = ''
		var minsalary = document.getElementById('minsalary').value;
		var maxsalary = document.getElementById('maxsalary').value;
		if(minsalary) {
			salaryshow = minsalary;
			if(maxsalary) {
				salaryshow += '-' + maxsalary +'元/月';
			} else {
				salaryshow += '元以上/月';
			}
			if(parseInt(maxsalary)>0 && parseInt(maxsalary) < parseInt(minsalary)) {
				document.getElementById('minsalary').value = '';
				document.getElementById('maxsalary').value = '';
				document.getElementById('salaryshow').innerText = '';
				return mui.toast('最低薪资不能比最高薪资高，请重新填写');
			}
			document.getElementById('salaryshow').innerText = salaryshow;
		}
		var worksdate = document.getElementById('worksdate').value;
		var workedate = document.getElementById('workedate').value;
		var totoday = document.getElementById('totoday').value;
		if(worksdate && (workedate||totoday)) {
			if(totoday){
				document.getElementById('worktimeshow').innerText = worksdate + '-至今';
			}else{
				document.getElementById('worktimeshow').innerText = worksdate + '-' + workedate;
			}
			
		}
		var workcontent = document.getElementById('workcontent').value;
		if(workcontent) {
			document.getElementById('workcontentshow').innerText = workcontent;
		}
		var edusdate = document.getElementById('edusdate').value;
		var eduedate = document.getElementById('eduedate').value;
		if(edusdate && eduedate) {
			document.getElementById('edutimeshow').innerText = edusdate + '-' + eduedate;
		}
		var prosdate = document.getElementById('prosdate').value;
		var proedate = document.getElementById('proedate').value;
		if(prosdate && proedate) {
			document.getElementById('protimeshow').innerText = prosdate + '-' + proedate;
		}
		var procontent = document.getElementById('procontent').value;
		if(procontent) {
			document.getElementById('procontentshow').innerText = procontent;
		}
	});
	mui('.totoday').each(function() {
		this.addEventListener('toggle', function(event) {
			if(event.detail.isActive){
				document.getElementById('workedateComPicker').disabled=true;
				document.getElementById('workedateComPicker').innerText="{yun:}time()|date_format:'%Y-%m'{/yun}"
				document.getElementById('totoday').value=1;
			}else{
				document.getElementById('totoday').value='';
				document.getElementById('workedateComPicker').disabled=false;
				document.getElementById('workedateComPicker').innerText="请选择离职时间"
			}
		});
	});
	$(function() {
		if(document.getElementById('main')){
			document.getElementById('main').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
		}
		if(document.getElementById('addnexthtml')){
			document.getElementById('addnexthtml').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
		}
		if(document.getElementById('addnexttwohtml')){
			document.getElementById('addnexttwohtml').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
		}
		if(document.getElementById('procontenthtml')){
			document.getElementById('procontenthtml').addEventListener('touchmove', function (e) { e.stopPropagation();}, {passive: false});
		}
		if(document.getElementById('workcontenthtml')){
			document.getElementById('workcontenthtml').addEventListener('touchmove', function (e) { e.stopPropagation();}, {passive: false});
		}
		mui('.yunset_bth_box').on('tap', '.addnext',  function() {
			var uname = $.trim(document.getElementById('uname').value),
				sex = $.trim(document.getElementById('sex').value),
				birthday = $.trim(document.getElementById('birthday').value),
				edu = $.trim(document.getElementById('edu').value),
				exp = $.trim(document.getElementById('exp').value),
				telphone = $.trim(document.getElementById('telphone').value),
				email = $.trim(document.getElementById('email').value),
				living = $.trim(document.getElementById('living').value);
			if(uname == "") {
				mui.toast('请输入真实姓名！');return false;
			}
			if(sex== '') {
				 mui.toast('请选择性别！');return false;
			}
			if(birthday== '') {
				 mui.toast('请选择出生年月！');return false;
			}
			if(living== '') {
				 mui.toast('请输入现居住地！');return false;
			}
			if(edu== '') {
				 mui.toast('请选择最高学历！');return false;
			}
			if(exp== '') {
				 mui.toast('请选择工作经验！');return false;
			}
			if(telphone== '') {
				 mui.toast('请输入手机号码！');return false;
			} else {
				var reg = /^[1][3456789]\d{9}$/; 
				 if(!reg.test(telphone)){
					 mui.toast('手机号码格式错误！');return false;
				 }
			}
			var myreg = /^([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9\-]+@([a-zA-Z0-9\-]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
			if(email!="" && !myreg.test(email)){
				 mui.toast('邮箱格式错误！');return false;
			}
		})
		mui('.yunset_bth_box').on('tap', '.addnexttwo',  function() {
			var name = $.trim(document.getElementById('name').value),
				hy = $.trim(document.getElementById('hy').value),
				job_classid = $.trim(document.getElementById('job_classid').value),
				city_classid = $.trim(document.getElementById('city_classid').value),
				minsalary = $.trim(document.getElementById('minsalary').value),
				maxsalary = $.trim(document.getElementById('maxsalary').value),
				report = $.trim(document.getElementById('report').value),
				type = $.trim(document.getElementById('type').value),
				jobstatus = $.trim(document.getElementById('jobstatus').value);
			if(hy== "") {
				mui.toast("请选择从事行业！");return false;
			}
			if(job_classid== "") {
				 mui.toast('请选择工作职能！');return false;
			}
			if(name== "") {
				 mui.toast('请输入期望岗位！');return false;
			}
			if(minsalary== "") {
				 mui.toast('请输入期望薪资！');return false;
			}
			if(maxsalary) {
				if(parseInt(maxsalary)>0 && parseInt(maxsalary) <= parseInt(minsalary)) {
					 mui.toast('最高薪资必须大于最低薪资！');return false;
				}
			}
			if(city_classid == "") {
				 mui.toast('请选择期望城市！');return false;
			}
			if(type== "") {
				 mui.toast('请选择工作性质！');return false;
			}
			if(report== "") {
				mui.toast('请选择到岗时间！');return false;
			}
			if(jobstatus== "") {
				mui.toast('请选择求职状态！');return false;
			}
		})
 		mui('.yunset_bth_box').on('tap', '#resumesubmit', addresume);
	});
	var jn = [];
	'{yun:}foreach from=$job_name key=key item=v{/yun}';
	jn['{yun:}$key{/yun}']='{yun:}$v{/yun}';
	'{yun:}/foreach{/yun}';
	var cn = [];
	'{yun:}foreach from=$city_name key=key item=v{/yun}';
	cn['{yun:}$key{/yun}']='{yun:}$v{/yun}';
	'{yun:}/foreach{/yun}';
</script>
<script src="{yun:}$wap_style{/yun}/js/category.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/publicselect.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/cmc.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script>
	var second = 0;
	window.setInterval(function () {
		second ++;
	}, 1000);

	var url     = location.href, 
		refer   = document.referrer, 
		timeIn  = Math.ceil(new Date().getTime()/1000); 
	
	$(function(){
 		setTimeout(function(){ 
			$.post('index.php?c=userLog',{url:url,refer:refer,timeIn:timeIn,second:2,opera:22},function(data){
				if(data){
					$("#logid").val(data);
				}
			})
		},2000);
		
    }) 
	
	window.onbeforeunload = function(){
		var logid = $("#logid").val();
 		if(second>2){ 
			$.post('index.php?c=gxUserLog',{id:logid,second:second},function(data){
				if(data) {
					return false;
				}
			})
		}
   	}
</script>
{yun:}include file="$wapstyle/footer.htm"{/yun}
